package com.hy.${packageCode}.server.common.param;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Getter;
import lombok.Setter;

<#if containDate>
import java.time.LocalDateTime;
</#if>

@Getter
@Setter
@Schema(description = "${objName}保存参数")
public class ${classCode}UpdateParam {

    @NotNull
    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long id;

<#list parameters as parameter>
    @Schema(description = "${parameter.description}", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private ${parameter.fieldType} ${parameter.fieldName};

</#list>

}
